package com.highcom.mapper.manyToMany;

import com.highcom.bean.Course;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface CourseMapper {

    @Select("SELECT * FROM course c ,stu_cr sc WHERE c.id=sc.cid AND sc.sid=#{id}")
    public List<Course> selectById(Integer id);
}
